package com.v.im.businessservice.dao;

import com.v.im.businessservice.bean.ImUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Set;

@Component
public interface ImUserDao extends JpaRepository<ImUserEntity,Long>{

    ImUserEntity findByName(String name);

    ImUserEntity findById(String id);

    List<ImUserEntity> findByIdIn(Set<String> id);

}
